package cn.wm.http.mvc.entity;

import io.netty.handler.codec.http.HttpMethod;

public class HttpLabel {
    private String name;
    private HttpMethod method;

    public HttpLabel() {
    }

    public HttpLabel(String name, HttpMethod method) {
        this.name = name;
        this.method = method;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public HttpMethod getMethod() {
        return method;
    }

    public void setMethod(HttpMethod method) {
        this.method = method;
    }
}
